import express from 'express';
import * as tokenCookieController from './tokenCookie.conteroller';

const router = express.Router();

/**
 * 获取内容
 */
router.get('/tokenCookie', tokenCookieController.index);

/**
 * 更新内容
 */
router.patch('/tokenCookie/:postId', tokenCookieController.update);

/**
 * 导出路由
 */
export default router;
